package com.jumi.microservice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jumi.microservice.domain.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@TableName("message_push_log")
@ApiModel(value="MessagePushLog对象", description="消息推送日志")
public class MessagePushLog extends BaseEntity {

    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long Id;
    @ApiModelProperty(value = "消息模板id")
    private Long templateId;
    @ApiModelProperty(value = "站内信发送日志id")
    private Long mailId;
    @ApiModelProperty(value = "短信发送日志")
    private Long smsId;
    @ApiModelProperty(value = "app发送日志")
    private Long appId;
    @ApiModelProperty(value = "微信公众号发送日志")
    private Long weixinId;
    @ApiModelProperty(value = "微信小程序发送日志")
    private Long appletsId;
    @ApiModelProperty(value = "短消息发送时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer isDel;
    @ApiModelProperty(value = "消息通知")
    private String message;

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getMailId() {
        return mailId;
    }

    public void setMailId(Long mailId) {
        this.mailId = mailId;
    }

    public Long getSmsId() {
        return smsId;
    }

    public void setSmsId(Long smsId) {
        this.smsId = smsId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(Long weixinId) {
        this.weixinId = weixinId;
    }

    public Long getAppletsId() {
        return appletsId;
    }

    public void setAppletsId(Long appletsId) {
        this.appletsId = appletsId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
